package org.csu.laboratoryequipment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("result")
@AllArgsConstructor
@NoArgsConstructor
public class Result implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    int id;

    @TableField(value = "com_word")
    String comWord;

    @TableField(value = "com_num")
    double comNum;

    @TableField(value = "seed_key")
    String seedKey;

    @TableField(value = "time")
    Date time;
}
